
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML>
<html>
<head>

    <title>添加编辑</title>
    <%@ include file="/common/include-core.jsp" %>
    <%@ include file="/common/jspTemplate.jsp" %>
</head>
<body>
<article class="page-container">
    <form action="" class="form form-horizontal" id="form-member-add">
        <input id="tid" name="tid" value="${distributionRate.tid}" type="hidden">
        <%--<div class="row cl">
            <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>优惠类型：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <span class="select-box">
                    <select class="select" name="discountsType">
                        <option value="1"  ${distributionConfig.discountsType==1?"selected":"" }>减少</option>
                        <option value="2"  ${distributionConfig.discountsType==2?"selected":"" }>减到</option>
                    </select>
				</span>
            </div>
        </div>--%>



        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>最小销售数量：</label>
            <div class="formControls col-xs-8 col-sm-9">
               <%-- <input type="text" class="input-text"
                       value="<fmt:formatNumber value="${distributionConfig.discountsPrice/100}" pattern="#0.00" />"
                       placeholder="优惠价格" id="discountsPrice" name="discountsPrice">--%>
                <input type="text" class="input-text" value="${distributionRate.maxAmount}"
                         placeholder="最小销售数量" id="maxAmount" name="maxAmount">
            </div>
        </div>

        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>分成比率（百分比）：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="text" class="input-text" value="${distributionRate.rate}"
                       placeholder="分成比率" id="rate" name="rate">
            </div>
        </div>



        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
                <input class="btn btn-primary radius" type="submit" id="advertSubmit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
            </div>
        </div>
    </form>
</article>

<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="/static/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="/static/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="/static/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="/static/h-ui.admin/js/H-ui.admin.js"></script>
<!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="/static/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="/static/lib/jquery.validation/1.14.0/jquery.validate.js"></script>
<script type="text/javascript" src="/static/lib/jquery.validation/1.14.0/validate-methods.js"></script>
<script type="text/javascript" src="/static/lib/jquery.validation/1.14.0/messages_zh.js"></script>
<script type="text/javascript" src="/static/js/admin/distributionRate/distributionRate.js"></script>
<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>
